﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Board
{
    public class ArticleEntity : DataEntity
    {
        public int n4ArticleSN { get { return Convert.ToInt32(GetData("n4ArticleSN", (int)0)); } set { SetData("n4ArticleSN", value); } }
        public byte n1BoardSN { get { return Convert.ToByte(GetData("n1BoardSN", (byte)0)); } }
		public int n4CategoryNo { get { return Convert.ToByte(GetData("n4CategoryNo", 0)); } }
        public string strTitle { get { return Convert.ToString(GetData("strTitle", string.Empty)); } }
        public string strContent { get { return Convert.ToString(GetData("strContent", string.Empty)); } }
		public string strJsonData { get { return Convert.ToString(GetData("strJsonData", string.Empty)); } }
		public string strFileUrl { get { return Convert.ToString(GetData("strFileUrl", string.Empty)); } }
        public int n4ManagerSNWriter { get { return Convert.ToInt32(GetData("n4ManagerSNWriter", (int)0)); } }
		public string strUserID { get { return Convert.ToString(GetData("strUserID", string.Empty)); } }
		public DateTime dtCreatedDate { get { return Convert.ToDateTime(GetData("dtCreatedDate", DateTime.MinValue)); } }
        public DateTime dtModifiedDate { get { return Convert.ToDateTime(GetData("dtModifiedDate", DateTime.MinValue)); } }
        public int n4ReadCount { get { return Convert.ToInt32(GetData("n4ReadCount", (int)0)); } }

		public int n4ArticleSN_prev { get { return Convert.ToInt32(GetData("n4ArticleSN_prev", (int)0)); } }
        public string strTitle_prev { get { return Convert.ToString(GetData("strTitle_prev", string.Empty)); } }
		public int n4ArticleSN_next { get { return Convert.ToInt32(GetData("n4ArticleSN_next", (int)0)); } }
        public string strTitle_next { get { return Convert.ToString(GetData("strTitle_next", string.Empty)); } }
    }
}